home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / CloseWindowSafely < prev    next >
Text File  |  1990-06-22  |  917b  |  67 lines

  1.  
  2.  
  3.  
  4.      CloseWindowSafely(31.0)   ARP Prog_Man    CloseWindowSafely(31.0)
  5.  
  6.  
  7.  
  8.      NAME
  9.       CloseWindowSafely - close a window without GURUing.
  10.  
  11.      SYNOPSIS
  12.       CloseWindowSafely( window, morewindows )
  13.                    A0     A1
  14.  
  15.      FUNCTION
  16.       This function    locates    any messages queued to the window
  17.       message port,    and returns them to the    sender.     It then
  18.       closes the window.  This is necessary    for windows which
  19.       share    a common IDCMP,    otherwise GURU's are likely to occur.
  20.       If morewindows is NULL, then the msgport is freed also.
  21.  
  22.      INPUTS
  23.       window - window to close
  24.  
  25.       morewindows -    If NULL, the msgport for this window will be
  26.           released.
  27.  
  28.      RESULTS
  29.       None.
  30.  
  31.      BUGS
  32.       This function    will GURU if called to close a window which
  33.       was opened with the IDCMPFLags variable of the NewWindow
  34.       structure set    to NULL.
  35.  
  36.      Author
  37.       CDH
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.